package com.ruoyi.psi.inventory.in.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;
import java.util.List;

/**
 * 其他入库
 * psi_inventory_in
 */
public class InventoryIn extends BaseEntity {
    /**
     * 其他入库编号
     */
    @NotNull(message = "其他入库编号不能为空")
    @ApiModelProperty(value = "其他入库编号", required = true)
    private String inventoryInId;
    /**
     * 仓库编号
     */
    @NotNull(message = "仓库编号不能为空")
    @ApiModelProperty(value = "仓库编号", required = true)
    private String warehouseId;
    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String warehouseName;
    /**
     * 仓库地址
     */
    @Excel(name = "仓库地址")
    private String warehouseAddress;
    /**
     * 负责人编号
     */
    @Excel(name = "负责人编号")
    private String staffId;
    /**
     * 负责人名称
     */
    @Excel(name = "负责人名称")
    private String staffName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp createTime;
    /**
     * 备注
     */
    private String remark;

    private List<InventoryInList> inventoryInLists;

    public List<InventoryInList> getInventoryInLists() {
        return inventoryInLists;
    }

    public void setInventoryInLists(List<InventoryInList> inventoryInLists) {
        this.inventoryInLists = inventoryInLists;
    }

    public String getInventoryInId() {
        return inventoryInId;
    }

    public void setInventoryInId(String inventoryInId) {
        this.inventoryInId = inventoryInId;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    @Override
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
